﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Caching;

namespace PJ.Data
{
    /// <summary>
    /// EntityExtensionPICProvider : Persist In Cache data provider
    /// </summary>
    /// <typeparam name="I">Object to provide interface type</typeparam>
    /// <typeparam name="C">Object to provide concrete class type</typeparam>
    public abstract class EntityExtensionPICProvider<I, C> : EntityPICProvider<I, C>, IEntityExtensionProvider<I>
        where C : BaseEntityExtensionData, I, new()
        where I : class, IEntityExtensionData
    {
        public EntityExtensionPICProvider(ICacheManager cache) : base(cache)
        {
        }

    }
}
